from django.db import models

# Create your models here.
from db.base import BaseModel


class WechatUserModel(BaseModel):
    wechat_code = models.CharField(max_length=64,verbose_name="微信公众号的id")
    password = models.CharField(max_length=64,verbose_name="微信公众号的登录密码")
    scaner = models.CharField(max_length=32,verbose_name="微信公众号的扫码人")
    adminer_wechat_id = models.CharField(max_length=32,verbose_name="微信公众号管理员的微信号")
    token = models.CharField(verbose_name="登陆的token",max_length=32,null=True,default="null")
    cookies = models.TextField(verbose_name="登录的cookies",null=True,default="null")
    class Meta:
        db_table = "wx_user"
        verbose_name="微信公众号列表"
        verbose_name_plural = verbose_name